Automattic\WooCommerce\Blocks\StoreApi\Schemas\ProductSchema A

Total Complexity 55
Dependencies 4
Dependents 1
Total lines 812
Lines of code 617
Logical lines of code 105
Comment lines 133
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
get_properties()
B
22
1 378
get_price_range()
A
49 9 28
get_attributes()
A
50 8 25
get_variations()
A
43 6 53
get_term_list()
S
51 7 27
get_item_response()
S
46 2 37
prepare_product_price_response()
S
56 2 17
get_low_stock_remaining()
S
67 3 7
get_product_quantity_limit()
S
64 3 9
filter_variation_attribute()
S
79 2 3
get_remaining_stock()
S
72 2 6
prepare_product_attribute_value()
S
68 2 7
get_tax_display_mode()
S
77 2 3
get_price_function_from_tax_display_mode()
S
79 2 3
filter_valid_attribute()
S
79 1 3
get_images()
S
74 1 4
prepare_product_attribute_taxonomy_value()
S
79 1 3
__construct()
S
76 1 4